package com.cdtu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdtu.entity.BelongCommunity;
import com.cdtu.entity.CertifyType;
import com.cdtu.mapper.CertifyTypeMapper;
import com.cdtu.service.BelongCommunityService;
import com.cdtu.mapper.BelongCommunityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 玉总
* @description 针对表【belong_community】的数据库操作Service实现
* @createDate 2023-04-21 16:50:27
*/
@Service
public class BelongCommunityServiceImpl extends ServiceImpl<BelongCommunityMapper, BelongCommunity>
    implements BelongCommunityService{
    @Autowired
    private BelongCommunityMapper belongCommunityMapper;
    @Override
    public List<BelongCommunity> getAllCommunity() {
        List<BelongCommunity> certifyTypes = belongCommunityMapper.selectList(null);
        return certifyTypes;
    }
}




